package com.yuyou.fn.portal.service.impl;

import com.yuyou.fn.common.util.TimeUtils;
import org.springframework.stereotype.Service;

import com.yuyou.fn.portal.mapper.OuterFeedbackMapper;
import com.yuyou.fn.portal.entity.OuterFeedback;
import com.yuyou.fn.portal.service.IOuterFeedbackService;
import com.github.wens.framework.service.impl.SuperServiceImpl;

/**
 *
 * OuterFeedback 表数据服务层接口实现类
 *
 */
@Service
public class OuterFeedbackServiceImpl extends SuperServiceImpl<OuterFeedbackMapper, OuterFeedback,Long> implements IOuterFeedbackService {

    @Override
    public void contactUs(OuterFeedback outerFeedback) {
        outerFeedback.setCreateTime(TimeUtils.now());
        outerFeedback.setUpdateTime(TimeUtils.now());
        outerFeedback.setStatus(0);//未处理
        this.insertSelective(outerFeedback);
    }
}